<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html>
  <head>    
    <title></title>
  </head>
  <body>
  	<%
  		request.setCharacterEncoding("utf-8");
  		String name=request.getParameter("name");
  		session.setAttribute("abc", name);
  	 %>
  	 <h2>欢迎你，<%=name%>同学！</h2>
  	 <p>请选择一门课程</p>
  	 <form action="ex4_2.jsp" method="post">
  	 	<p><input type="radio" name="course" value="JSP程序设计">JSP程序设计
  	 		<input type="radio" name="course" value="计算机组成原理">计算机组成原理
  	 		<input type="radio" name="course" value="Java高级编程">Java高级编程
  	 		<input type="radio" name="course" value="Linux操作系统">Linux操作系统</p>	 	
  	 	<p><input type="submit" name="submit" value="提交">
  			&nbsp;&nbsp;&nbsp;
  			<input type="reset" name="reset" value="重置"></p>		
  	 </form>
  </body>
</html>



